package 装饰模式.demo;

/**
 * @author zyl
 * @Description
 * @since 2023/12/27 12:51
 */

public class ConcreteDecoratorB extends Decorator{
    public void Operation(){
        super.Operation();
        AddBehavior();
    }
    private void AddBehavior(){
        System.out.println("具体装饰对象B的独有的操作");
    }
}
